class CreateTimelines < ActiveRecord::Migration
  def self.up
    create_table :timelines do |t|
      t.string    :title, :null => false
      t.string    :unit_type, :detail_unit,:overview_unit
      t.text :description

      t.integer :overview_pixels, :default => 25
      t.integer  :detail_pixels, :default => 100



    end
  end

  def self.down
    drop_table :timelines
  end
end
